<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page errorPage="ex_handler.jsp" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Exception 처리 예제</title>
</head>
<body>

<%
int age = Integer.parseInt(request.getParameter("age"));
%>
당신의 나이는 <%= age %>세입니다.
<br/><br/>
<a href="ex_form.html">Back</a>

</body>
</html>